package com.aaa.sptingboot;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
@ConfigurationProperties(prefix = "oss")
@Data
public class OssObject {
    private String accessKeyId;
    private String secretAccessKey;
    private String endpoint;
    private String bucketName;
    private List<String> hobby;
    private Map<String,Object> map;

}
